<?php
require("libraries/users.php");
$users = new users();
$id = $_GET['uid'];
$users->del($id);
header("location:".baseurl."admin/?page=user&act=list");
exit();